<?php
namespace app\tools\controller;
use app\tools\logic\ApiLogic;
use app\tools\logic\DictLogic;
//字典
class Dict extends Base{
	function getData(){
		$rs = DictLogic::getData();
		if($rs['code']==0){
			return ApiLogic::return(0, '', $rs['data']);
		}else{
			return ApiLogic::return($rs['code']);
		}
		
	}

}